<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/7/28
  Time: 21:24
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>welcome</title>
</head>
<body>
  欢迎您：
  <%
      String name = (String) session.getAttribute("uname");
      if(name!=null){
          out.print(name);
      }else{
          response.sendRedirect("login.jsp");
      }
  %>
</body>
</html>
